﻿using System;
using System.Runtime.Serialization;

namespace Heimdallr.Sample.ChatRoom.Client
{
    [DataContract]
    public class Message
    {
        [DataMember]
        public string Text
        {
            get;
            set;
        }

        [DataMember]
        public string Name
        {
            get;
            set;
        }

        public Message()
        {
            this.Text = string.Empty;
            this.Name = string.Empty;
        }
    }
}
